package com.tuhao.www.controller.user;

import com.tuhao.www.util.controller.TokenController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 *
 * @author tuhao on 2017/3/28.
 */
@RequestMapping("mybatis")
@Controller
public class UserController extends TokenController {

    /*@RequestMapping(value = "/index")
    public ModelAndView home(ModelAndView mv) {
        mv.setViewName("pages/index");
        return mv;
    }*/

    @RequestMapping(value = "/user")
    public ModelAndView user(ModelAndView mv) {
        mv.setViewName("pages/user/user");
        return mv;
    }
}
